export default {
	InStore: {
		label: '入库单',
		billTypes: [
			{
				id: 1002,
				label: '采购入库（手工新建）',
				requiredItems: {
					'otherOrgan.id': {
						id: 'otherOrgan.id',
						label: '出库方',
						required: false
					},
					billBizTypeId: {
						id: 'billBizTypeId',
						label: '业务类型',
						required: false
					},
					carriageFee: {
						id: 'carriageFee',
						label: '整单运费',
						required: false
					},
					memo: {
						id: 'memo',
						label: '备注',
						required: false
					},
					appendixes: {
						id: 'appendixes',
						label: '附件',
						required: false
					},
					singleHouseFlag: {
						id: 'singleHouseFlag',
						label: '入库方式',
						required: true,
						disabled: true,
						default: {
							defaultValue: 0,
							defaultValueList: [
								{
									id: 0,
									label: '多仓入库'
								}, {
									id: 1,
									label: '单仓入库'
								}
							]
						}
					},
					allotFlag: {
						id: 'allotFlag',
						label: '分摊明细',
						required: true,
						disabled: true,
						default: {
							defaultValue: 0,
							defaultValueList: [
								{
									id: 0,
									label: '不分摊'
								}, {
									id: 1,
									label: '分摊'
								}
							]
						}
					}
				}
			},
			{
				id: '1002-2|1002-3|1002-3-1',
				label: '采购入库（入库分派生成）',
				requiredItems: {
					appendixes: {
						id: 'appendixes',
						label: '附件',
						required: false
					}
				}
			},
			{
				id: '1002-4|1002-5|1002-6',
				label: '采购入库（出库单审核生成,销售订单分派的出库单直接生成,采购订单的出库单直接生成"）',
				requiredItems: {
					appendixes: {
						id: 'appendixes',
						label: '附件',
						required: false
					}
				}
			},
			{
				id: 1001,
				label: '期初入库',
				requiredItems: {
					billBizTypeId: {
						id: 'billBizTypeId',
						label: '业务类型',
						required: false
					},
					carriageFee: {
						id: 'carriageFee',
						label: '整单运费',
						required: false
					},
					memo: {
						id: 'memo',
						label: '备注',
						required: false
					},
					appendixes: {
						id: 'appendixes',
						label: '附件',
						required: false
					},
					allotFlag: {
						id: 'allotFlag',
						label: '分摊明细',
						required: true,
						disabled: true,
						default: {
							defaultValue: 0,
							defaultValueList: [
								{
									id: 0,
									label: '不分摊'
								}, {
									id: 1,
									label: '分摊'
								}
							]
						}
					}
				}
			},
			{
				id: 1003,
				label: '其他入库',
				requiredItems: {
					'otherOrgan.id': {
						id: 'otherOrgan.id',
						label: '出库方',
						required: false
					},
					billBizTypeId: {
						id: 'billBizTypeId',
						label: '业务类型',
						required: false
					},
					carriageFee: {
						id: 'carriageFee',
						label: '整单运费',
						required: false
					},
					memo: {
						id: 'memo',
						label: '备注',
						required: false
					},
					appendixes: {
						id: 'appendixes',
						label: '附件',
						required: false
					},
					singleHouseFlag: {
						id: 'singleHouseFlag',
						label: '入库方式',
						required: true,
						disabled: true,
						default: {
							defaultValue: 0,
							defaultValueList: [
								{
									id: 0,
									label: '多仓入库'
								}, {
									id: 1,
									label: '单仓入库'
								}
							]
						}
					},
					allotFlag: {
						id: 'allotFlag',
						label: '分摊明细',
						required: true,
						disabled: true,
						default: {
							defaultValue: 0,
							defaultValueList: [
								{
									id: 0,
									label: '不分摊'
								}, {
									id: 1,
									label: '分摊'
								}
							]
						}
					}
				}
			},
			{
				id: 1007,
				label: '采购退货',
				requiredItems: {
					billBizTypeId: {
						id: 'billBizTypeId',
						label: '业务类型',
						required: false
					},
					memo: {
						id: 'memo',
						label: '备注',
						required: false
					},
					appendixes: {
						id: 'appendixes',
						label: '附件',
						required: false,
						relevance: {
							label: '入库方',
							relevanceArr: [],
							relevanceOptions: [
								{
									id: '2',
									type: 'shop',
									label: '门店'
								},
								{
									id: '1',
									type: 'rdc',
									label: '中心'
								}
							]
						}
					}
				}
			}
		]
	}
}
